// 这里导入其它scss模块
@import './mixin.scss';
@import './transition.scss';
@import './element-variables.scss';
@import './reset-element.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  background-color: #f4f6f8;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.el-input__inner {
  width: 220px;
}

.el-form-item {
  margin-bottom: 10px;
}

.el-table .el-table__header .is-leaf {
  background-color: #f5f6f8;
}

.el-dialog__header {
  background-color: #eee;
}

.el-dialog {
  border-radius: 20px;
}

.el-dialog__header {
  border-radius: 20px 20px 0 0;
}

// .app-wrapper .sidebar-container {
//   min-width: 200px !important;
// }

.el-submenu__title {
  height: 45px !important;
  line-height: 45px;
}

// 设置表格字体
.el-table__body .el-table__row {
  font-family: "Helvetica Neue",
    Helvetica,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    Arial,
    SimSun,
    sans-serif
}

.el-card__body {
  padding: 20px;
}



@media(max-width: 768px) {
  .el-message-box {
    width: 80%;
  }

  .el-message {
    width: 80% !important;
    min-width: auto !important
  }

  .el-dialog {
    width: 80% !important;
  }

}